package com.punai.evaluationSystem.incomeDataEvalute.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punai.evaluationSystem.incomeDataEvalute.bo.IncomeDataEvaluteBo;
import com.punai.evaluationSystem.incomeDataEvalute.domain.EvaluationResultsSr;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * srMapper接口
 *
 * @author tj
 * @date 2023-04-18
 */
public interface EvaluationResultsSrMapper extends BaseMapper<EvaluationResultsSr>
{
    /**
     * 查询sr
     *
     * @param id sr主键
     * @return sr
     */
    public EvaluationResultsSr selectEvaluationResultsSrById(String id);
    public List<EvaluationResultsSr> selectEvaluationResultsSrByIdIn(String[] resultIds);

    /**
     * 查询sr列表
     *
     * @param evaluationResultsSr sr
     * @return sr集合
     */
    public List<EvaluationResultsSr> selectEvaluationResultsSrList(EvaluationResultsSr evaluationResultsSr);
    public List<EvaluationResultsSr> selectEvaluationResultsSr(IncomeDataEvaluteBo  bo);


    /**
     * 删除sr
     *
     * @param id sr主键
     * @return 结果
     */
    public int deleteEvaluationResultsSrById(String id);

    /**
     * 批量删除sr
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEvaluationResultsSrByIds(String[] ids);

    /**
     * 修改
     * @param resultIds
     * @return
     */
    public int updateResultsSrByIdIn(@Param("resultIds") List<String> resultIds,@Param("isassets") String isassets);

    public List<IncomeDataEvaluteBo> selectCleanData(IncomeDataEvaluteBo bo);

    public List<IncomeDataEvaluteBo> selectCleanDataEvaluteList(IncomeDataEvaluteBo bo);

    public List<IncomeDataEvaluteBo> initTableDetailInfoData(IncomeDataEvaluteBo bo);

    List<EvaluationResultsSr> selectEvaluationByEvId(Map<String, Object> map);
}
